<?php
namespace lib\comm;
/**
 * Created by PhpStorm.
 * User: gc
 * Date: 2017/8/29
 * Time: 0:12
 */
class tool{
    public static $_f;
    public static function f($pars = [])
    {
        self::$_f or self::$_f = new \lib\comm\tool();
        return self::$_f;
    }
    public function time_str()
    {
        return date('Y-m-d H:i:s',time());
    }
}